package com.aphrodite.io.sip.dialog;

import com.aphrodite.io.sip.address.NameAddress;
import com.aphrodite.io.sip.message.Message;

/**
 * A TransactionServerAccepterListener listens for TransactionServerAccepter
 * events. It listens for new incoming trasaction requests that create a new
 * InviteDialog.
 */
public interface InviteDialogAccepterListener extends InviteDialogListener {
	/**
	 * When the InviteDialogAccepter receives a new invite request that creates
	 * a new InviteDialog.
	 */
	public void onNewInviteDialog(InviteDialogAccepter inv_accepter, InviteDialog dialog, NameAddress callee,
			NameAddress caller, String body, Message msg);

}
